Refactored Activities Web Api and client routing.