include Singleton
call SqlTemplate::Resolver.instance() instead of SqlTemplate::Resolver.new()
write a test that our cache is properly expired.
Add an after_save callback.