Moved html parameter parsing to webservices model