Defined blocks structure and rewrite some examples to match that
definition
Added syntax file for vim