Add ba_net.py