Added codex-style and fixed other awesomness