Added validation basics. #2
Added validation rules. Sync manager ignores invalid. Closes #2