Added hibernate integration with spring. Test to get number of courses should be working.