hibernate configuration files refactor