Added some basic framework for using request handlers

Signed-off-by: Nick Kamper <nick@nick125.com>