introduced new interface for type checking (Command)
added some validation checks
finished for now the simplest form of the command side of CQRS