first commit of uncompleted/untested code
added a pattern-maching state machine for hosts
adding quoted strings