Library architecture ====================