Implemented Controller functions readSettings, writeSettings, and setColour.