implement node and element. just basic version. no unittest yet~