changed the xap service into an application