update routes.rb and create new files