Net class added

plus some bug fixing in Cell and Bridge classes