fixed issue with query strings and routing, rebuilt docs, removed old code