small tweeks to init function #11

I'm checking if we have dependencies available before we try and parse it.

On the callback from the create 'compiler'file, I'm then succeeding the promise, and not before.