Finished the new dt library context independent