Updated component example to derive from base component class.  Also updated queue example to get rid of unnecessary comments.