Move mobile related classes and services to common lib