basic hibernate configurations and dao implementation done