Removing code refering to getting analytics IP from cluster conf

- Also moved around functions to separate plugin module into separate package