Introduced a couple of Hibernate quieries and serparated Form and
Hibernate validation. Added JUnit test.