Starting to integrate hibernate