Changes paths to less files to be absolute
Moves common services to common/services file
Cleans up code and adds basic authentication