General class for importing

Some minor bug fixes and another class that has some commonly used
methods needed to process a data import.