updated modelbase to use querystring core module instead of assembling the querystring manually.