Make the massager using singleton and remove all uses of $GLOBAlS

Also load the instances for the acp
Merge pull request #89 from JN-Jones/singleton

Make the massager using singleton and remove all uses of $GLOBALS