Reorganized api routes folder.
* Removed api folder as it was another unnecessary layer
* Moved each route into their respective folder with an index, pre
  and config file.