Add some function for pseudo_node and reduce duplication in construct.rs
change matching to get_ref and matching to mep
modify construct.rs for matching
rename value to _