made service singleton, working with client