added spring config
added hibernate annotations