Refactored CLIExamples to separate out the storage of activites from the cli interface