Add cwd function, and possibility to load dev engine