Cleaned the type system
Cleaned the printing routines and added getErrorString routine