Code for webapp, small message queue, and arduino to make an internet controlled, electromechanical train signal.