add javadoc for Grain and GrainBuilder interfaces