A class library and a sample implementation.