refactor ui specific information into separate class