Added listcontroller and made changes to the Index