perform initial read of gpio value
added README.md
added license and some comments
added -d (detach) option