Architecture Java project with Spring Hibernate and Maven