move useMock into API namespace