add dataSource config util

changed HibernateTool to use it

fixes #42