Added all the previous test software

Contains all the test software for testing the PCB and for running the
rail from the terminal.