Use MessageListener to break circular dependency

Implement new interface MessageListener in order to break circular
dependency between UIController and ConfigLoader classes.
Move encrypt/decrypt methods out from UIController

Move similar methods into class ConfigLoader

Fix #26