Add URL querying

It will now get the 'q' GET parameter from the URL and pass that to the
cards