Moving the utilities into a separate file.