intermediate work on refactoring
repository and key refactoring for relational and hierarchical databases
add admin area back into sample
add support for int PKs