Added partial support for retrievimg modules from server + adding and removing modules.