added document relation and hibernate mappings to project