reorganized assembler.__init__