add comments and javadoc
add brace comments to parser