implemented rails routes
cleaned rspec
added more tests