more javadocs for model

more javadocs for model