Without knowing the details of your project it is difficult to answer, but initially you can export the task module (right-click in the Project Explorer and select Export...) from the sample application and import it to your own project.
Edit: You will get some warnings about links to other modules, which in this case are just the navigation menu items, etc. Use these warnings as a list of the menus you need to add in your own project.
Ok I will try this!