Create block validate and form_validate mod

Resolve #5 #3