added common UI elements and view hierarchy with root view