Codex

Set up Codex rules and hooks.