Implemented an entity framework, and a simple test example for it.