remove unsused classes
add full digest support