Adding classes to hibernate session factory