Move code from the tool to the library
Add the shell header
Move function to the library
Modules can be listed
Improve the shell to enable/disable/list modules