Created the main python program that will be run on the raspberry pi clinet.
It currently reads and empties the buffer fluently. The thermal printer functions
have not been tested.