add hibernate and spring config