Merge pull request #2 from kav2k/master

Library update + two more examples
Merge pull request #4 from asmaps/master

Mode manager + kav2k's pull request
Add explicit license

Closes issue #3
Merge remote-tracking branch 'upstream/master'