added hibernate + entity mapping