templates moved from cakefile to separate coffee files
valid hash function calculation
simple single file database abstraction