added class for neuron layers