Handled HTTP Error 404 and 500

  . Fix issue #25