Improved API. Added NuGet spec file.