Added in repository pattern for AgileTask maintenance, and included dependency injection for the web api controller to get the repository to use