add utils module for helper functions

and move there formatting of date