Started work on refactoring into usable gulp file with template cacheing etc.