Some gulp refactoring progress, api test example