Added files for better debugging

- added DebugTools and _Process classes to wrap the debugging system into
  one package
- fixed a spelling mistake in TODO