update build file description
convert to java as per mD
fix some more stuff