Modeling molecular mechanisms in the axon