let Factory create Elements and use in Document
create root in Document contructor
make addCHild return $child
cleanup code
remove method used in test only
simplify servicecontainer by supplying services in library autoload