Have a look at this post for a quick guide on making a context menu item, including how to put it in a sub-menu.