Add PathMatcher, and improved InvokeListener and RuntimeUtils