moved context menu definition to its own file