Start implementing type system

can register artifact types on a plugin and query with REST API