Ground is now a module

moved everything off the global scope into their own module