added buildoptions for validator
added debug informations
normalized options
refactored types added setValue, getValue
added validation interface