Change module visibility to library visibility

This gives much more flexibility.