extracts validation
refactored parse method and field
some more refactorings