basic support about constructor; seprate global variable from yacc file; fix wrong free in hash for EMPTY item