refactored code and created Validatable feature
misc
created export_errors feature
misc