Configured hibernate and spring mvc. Wrote entities, dao's.