create codeLayout and modal keys
`e` for editor, `i` for instant messenger