created ITaskRepository
to encapsulate all Task operations