ancient building in madird becoming a library