Added routes and controller functions

yeah