move neuron to its own file, and turn brain into a class