refactor action classes

Separate actions which use the rightclickmenu