function to retrieve value type from state
logic for generating json text from yajl_val
necessary include
logic for outputting selected state values to network
minor readme tweak
update makefile