adding initial hibernate support