tidied up import
refactored ServiceProxy