move templates into apps?

encapsulation and all that.