Moving display-related functions to new module in utils