added hibernate annotations and hibernate implementation for entities