add framework
fix all compare probelem
add platform source
fix build problems
clean