Adding lib build, sample tests
Merge pull request #1 from vladikoff/lib-build

Adding lib build, sample tests