Created Main controller and index html