Specified ruby version in Gemfile
Added accepted status to project index and made sql queries to clean up code