Structure and scramble functionality, with CLI.