added a simple querystring parser