add main script
Merge github.com:tkyocum/iotest