Move rc command to its own class