Significantly reworked gulp file, fixes #1