Change Components.interfaces to Ci, fix bug in sample code

Not sure, do I need a Bugzilla bug for a nit like this?