Database skeleton using object streaming, and generics.