Model classes fixed

Hibernated successfully reads the entities definition