Create Util class, move formatTime method