Fix config refactor
new tests for memdebug
Re-implementation of magic_bus