Rewrite code logic
Code documenting (rus)
Fix code indentation (awful github tabulation behaviour)
Fix GPIO grabbing after stopping monitoring
Merge branch 'master' into article

Conflicts:
	main.c