Refactored into a Maven project in order to make the use of Hibernate possible.