Bootstrap debug cleanup

Signed-off-by: Darren Hill <dchill42@gmail.com>
Added base_path to init and made exits testable

Signed-off-by: Darren Hill <dchill42@gmail.com>
Added test coverage for instance() and namespace methods

Signed-off-by: Darren Hill <dchill42@gmail.com>