Added dao, model, exception. Updated hibernate.cfg.xml