UI Part, done only mainpage and the frame