ENH: Define generic-io primitive types
ENH: Added methods to detect/allocate type

Added methods to detect the variable type as well as a method
that allocates buffer for a specific variable based on the
auto-detected type.
WIP: