Added functionality for editing the content of modules through the model.controller