cool, that works. Let's break those into separate files to keep the pts code separate from the daemon code.