Parsing query parameter on startup

The application now also picks up the ?query url parameter, parses it
and searches on this from the collection.