neuron and edge class declared