clean up
Moved routes to folder
Commenting, app mode functions, logging