Add hibernate implementation. Make refactoring of entities, add
anotation for hibernate