Add hibernate and spring config