[Change] Move class *Error to specific file
[Change] Refactor validator class