Moved utils class to MainPage