Moved getting modules to the api, added ability for shell to load new modules