abstract twine stuff to TwineImporter class