Add dispatchCommand and getConsoleSender to ServerObject