[DEV] Refactor a lot of code and add encoder.
[DEV] Add test asm 1.asm