Small scope lookup refactorings & changing build system to gulp