Convert our library to a class