Major refactoring

Layout of the assembler is shaping and some instructions are
implemented.