Hi Drazen,
First of all, please try installing the latest beta version, which is beta 3 now. And have a read in the documentation for beta how to use page type based routing as well as accessing the context document.
DocumentContext was a part of Portal Engine and will be removed in the next version. This is the way to access context document now:
If you need to access the data of the currently requested page, use the Retrieve<TPageType> method of the IPageDataContextRetriever service. The method takes either CMS.DocumentEngine.TreeNode or a page type wrapper class as its generic parameter and returns an IPageDataContext<TPageType> object. Use the object's properties to access the page data:
Page – object representing the page, of the type provided in the generic parameter.
Metadata – provides access to the metadata of the page.
Security – allows you to evaluate the permissions and authentication requirements of the page. See Implementing page permission checks for details.