Added key search to the Mongo client.
Added a request listener to determine the base URL of the web application.