Implement main runtime
Fix implementation function name
Implement the proper unload procedure for modules on shutdown