Created new util module to store common functions