clean up unused code from the template project