update several modes and repositories after unit testing.
update some of the unit tests for the new services.