add fields, types, and etc. information of MemNode, so that we can do less repetitive works, need *testing*