Shared code between website and Android app