adding metadata and registrant models to API