refactoring the dive site editor to use require
not sure
ignore the build folder