assembler: added tools.py