Support running on Mesos

Added support to run on Mesos
Bunch of unused imports here; not a huge deal, but a minor nit.