refactor(console) getOnMessage: rm unused winCommand
refactor(size) rm unused DIR_SERVER