Routes task added for crud operation.
Create tasks controller
Altering result to the index method