setup basic ui of main view