First implementation of mobile version with services. Refactoring.