Refactored build to be a submodule (gh-pages branch)