Rename Type->CType, and improve the regestry types
Only preprocess types and commands tags
Add a pickler for the registry