starting to add a basic example REST server. Adding status code to Errors