hibernate util and base dao changed to have create database and configuration input