make clean removes lib directory
Serial port device now used as argument. Logging writes to stdout as well as log.txt now.