more progress on the definition serialization for the java rewrite engine
changed the structure of the tutorial in the java rewrite engine