add back accidentally removed file
clean up platform native codes
cleanup platform java codes