Common types and theit serialization extracted into separate file
Catalog endpoint implemented (without registration/deregistration)