Hibernate is added partially.

Hibernate is able to get objects.
Sending email was changed a bit.