Moved routes and controllers to seperate file