organise imports
added purge by ownership; fixes #11