Main ui

@liorhar 

sorry for the delay - forgot to press the "Create pull request" button :)
@charliehavak 
which loop are you referring to? the `map`?