Add CommandValidator interface

Added a simple interface for the Command Validators implement.