A simple code that is based on the CMDRarduino library. It accepts Serial communication and runs DCC trains based on the requests.