Revert "Revert "added example code of CoOS""

This reverts commit 4fa29b97a6231b105e932feac4b002f306049158.