finished query.rb and exception.rb modification, now working on the http request module