Implement class for creating context menu