Code rewriting and cleaning
some fix
some fixes
change gpio
change gpio
Merge branch 'v1.1'
Merge pull request #1 from nekuz0r/master

v1.1