Now using FileWriter for writing to the config. Prepared for adding commands.