Introducing Mesos modules.

Review: https://reviews.apache.org/r/25848