Ui base

Adding Ui loop and UI base structure