Add error handler class
Formatting changes to server.h