Directory update with new spaces.
Moved code from the one php file to another.
Made the config compatible with cli invocation.
Reading the config from ./../.. and thus made the utils script cli-compatible