defined ObjectSchemaRegisrty interface and provided defualt meory based
implementation