Trying to map things more to hadoop to make it faster.