Move gulp tasks into a single file + fix package.json main