Now iOS and Android share more code. Also converted to using ES6 modules imports and fixed some other linting issues.
Added a test case to run on CI as well.