Base for the library