Allow code to set a boolean property

The hardest work will be the config gui