move templates into asset pipeline. clean up gemfile