Cleanup, added error reporting and Document Root variable. Added MakeFol...

...der method.