Mucking about with namespaces, imports string manipulation & list parsing.  Wheee.

Signed-off-by: gregor42 <gregor42@mail.com>