Cleanup of Application class
Include query string in logging