added cli support for debug(), added stubs for encrypt and cache functions