Added Spring and hibernate configuration for the DAO layer