WIP: modularizing for bc.py import