Updated DDL to create tables;
Updated entities declarations;
Added registration of SessionFactory instance;
Implemented the mappings of entities;
Added configuration of mapping;