Object Relation mapping Implementation