added hibernate annotations and ids