Add support for switches in GUI and configuration file

refs: #2583

Change-Id: I051dfe7c9e5fae292a7ca97f26f41dfc403241b8