Added custom routes and abstracted the controllers out to their respective files