Update appContext and add hibernate config file