Minimalistic State Manager for Haxe/OpenFL