Add grammar
Add comments to grammar and settings