moved some stuff around and renamed req/resp to model/view