Refactored and delete unused class
Added minimal date length checks
Tested command handler