Support running on Mesos

Added support to run on Mesos