Created new endpoint /tasks with CRUD operations