removes external templates and cleans up repo, adds inline template