learning how controller/model/view works in cakephp