refactor directory structure, employ dojo build script