implemented a naive dom implemenatation
0.1.2