first attempt at adding a search for events. It uses the API with the stub parameter to search for events matching a keyword, parameter