generates home controler and index view