move action menu to seperate file