Add gen template and java api in readme