Moved some runtime changes away from the config

The config should only be used on start and shutdown. It should be read on start and written shutdown. It shoudn't be used to store the state of functionality.

I've created class that can be used to enable and disable specific functionality of the app. This is a small improvement from the previous state.