made Utils class

moved regularly used functions into utils