moving onCompileComplete event to main lib
+ util: mkdir (recursive)
activating option flags for files