Split project into library and sample project.

+ For detailed information see README.md and CHANGELOG.md.