spring and hibernate configuration, persistence with repositories, test framework