Add basic dispatcher and response.

Signed-off-by: crynobone <crynobone@gmail.com>