added option for input type
updated readme
Merge pull request #1 from hamczu/master

added option for input type