refactoring
Added Asm generator, refactoring