CBP networks as a generalized neural model