reformatted and refactored Asselbler.py