Gem updates
Cleaning up db and moving some rake code into testable models.