create interface to start mocking json/DB exchanges