created method convert bm -> aff. also, formats.py, config.py