Started moving from self-built database manager to Hibernate.