implemented rack-cors functionality
removed unnecessary routes
modified params