Moved some of the utility classes from core to a new utils module