Changes to Command and CommandFactory. Replaced Date with Instant and used Clock with explicitly set timezone.