adds a first version of the dispatcher and a mock server