This file is a BPNet class