Changing build system to gulp & Refactoring src files