namespace control and lazy-import mechanism

WWW: https://github.com/pytest-dev/apipkg
