adding pry to gemfile
refactoring database for points
refactoring controllers and routes