Beginning to implement with hibernate