refactor util functions into separate files