added rails_best_practices gem and partially cleaned up