Chenged structor to contain ApiService, and collection
Changed the update function to save returned api object and changes to the ClearCompletedTodos function