Ticket0778: Reshape architecture of Leaf to include custom View and Controller