Move sCode to app_core
Merge pull request #1039 from lonelyplanet/if-s-code

Move sCode to app_core