Added log folder
Fixed some paths
Added app to path and redirected stderr to stdout
Added debug config
Added Error log files and fixed some paths