Refactored build, setting up view templating.