Move state to its specific file
Some opcodes implementation