One more quick change before bed: Keyvalue class is now static

Doesn't make any sense to instantiate it if I only want to use one instance of it anyway - and it makes all class functionality global by its nature. Should also run a smidgen faster too which is better if this is going to be as API-oriented as I imagine...