Added xml comments for Superscribe state base class and reorganised\tidied\renamed some Web API specific code