refactor move shared/none android stuff out in its own lib.