Change way to read hostname
Add: First draft of 'state machine'
Add: actions for waiting for acceptance
Repair typos from long ago, this even fixes issue #7