Refactoring

* Split files by route instead of protocol
* Delete authentication stuff
* Move config to js file & support env's