Plugins API expansion & update

Plugins API expansion & update
setupResults is unused at the moment - I think jshint will complain about it. Feel free to remove until we actually need it.