Modified Ui main class to accept values from a structr.conf file.