Changes to use absolute paths only
Some more changes on paths
Added a chdir to ServerRoot for asset compilation
Adding respective mode loading for the file opened