Modifications on entity map, so hibernate could work om MySQL too...and a structure change on the initialization process