add base class for neuron-based programs