Hibernate Based Todo App for training with hibernate