stubs for most of the moving parts, database a big TODO