added comments to default controller and model