Transfer code from private repo
Merge pull request #10 from keydunov/master

Transfer code from private repo