removed unused dependencies. Root now has contentType and type. Added support to visit Root. Use org.junit instead of junit.framework.