reworked for service.
removed all MainActiviry.getAppContext() methods