Added udev rule, daemonized thread which accesses serial port so it's stopped when main program exits