* removed util require
* proper directory structure checking&creating
* minor syntax errors
* fixed undefined variables