Java simulator refactoring - each command operation is delegated to an
associated CommandHandler to process the request.