Move InsertionCursorLayer to its own file.
Add ParserService.ResolveContext() method.