move template functionality into main gem
remove old template file