create controller methods and routes

pull request. there may be conflicts in the routes