Hibernate configuration and dao added.