* database locking?
* question/template objects should be reference counted, to faciliate caching
  implementations in db modules
