Moving the hibernate.cfg.xml to the correct package