python file for command line interface with PiFace board