-. create spring configuration class for hibernate