Working DAO

SessionFactory and hibernate.cfg.xml configured