Refactor OverlayConfiguration into Library