implemented CLI.Class