refactor server settings
add abstract response class
add ErrorResponse class
refactor server/client code to use reponse class
update configure flags for travis