Refactor: Validate input method
Added validation exceptions class map to composer