add validator class to errbreak. WIP