commented neural network and its sub-classes