move import functionality to haskell-importer