Libraries as top level structures