OuterClassInfo refactoring
New tests for outer class info
Fix visibility for main script function
Write outer class info for closures