Fixed bad example.
Added ecoengine example. Also updated foo_ecoengine with more options.