move ffmt api to the new domain, fix java convension