Refactor compiler -> assembler, added java doc