Python based code for controlling a Hornby model railway with E-link from a raspberry pi.