Moved "util" to "core", as it's really part of the game's core code.