Minor fixes to UI module. Added configuration module.