Entity Framework Complete

Completed the basic functionaities of the entity framework.