now supports plaintext cia content, and the plaintext flag works with cia content.
Will be base code for improvments