divided server and client models. replaced hyperquest with raw http