Cleaned up animinterface.h a bit. Converted any.cpp to use switches instead of ifs and changed any::typeId from int8 to Type