Reorganize package of WebUI class and alter its dependent classes.