Added controllers and extended router

Added controllers for accessing the api and linked them to the router.