adding basic database engine. still lots of work to be done.
changing how the base model is setup, moved some functionality into the record object. this should make it easier to implement collections.