Extract status displaying to a separate class