Architecture of the library ===========================