Response object and custom exception handling

  Changed the spec directory as well.