Added mappings file paths to ui and re formatted some code.