refactored so that documents can be imported directly from tincan; refactored docstrings and error messages to match new simplified import scheme.