Added minimalistic library and test-cases