Moved tree and dcommon to only be used in dashboard build