Code added for general handling of GIBaseInfo.

Input is now of the form NAMESPACE [VERSION]. Basic handling for enumeration types added.