cleaning up some constructors, adding toStrings
Adding toString to tree, adding factory function, adding basic unit test
Adding an example for HTML components