Move some functions (and variables) to  CompassFunctions, use that instead of statics.
I heard you liek OOP so I OOPd most of my (now mostly OOP) plugin to use OOP