Ecoengine integration

This integrated ecoengine. ggplot2 still not finished but I'll add that in as a pull request from another branch shortly.