refactoring to assembler, added few exports for extensions and some changes to gulpfile