split the pc command into smaller classes