Adding getreference + comments in CMSConrtoller

Signed-off-by: Kevin Nguyen <k.nguyen@thecodingmachine.com>