added class and comments for using hibernate annotations