keep stations hash in state

this is more easy to debug if we keep the whole %stations array in the
state, but this may impose some scalability issues, and stations will
never be forgotten that way
graph more data: number of stations, signals, using multigraph

some code duplication here, but so minor i'm ignoring it