Add the plan objects and schema

In the interest of simplicity the plan gets stored as a Text blob.
We could change this in the future to split it out into a composite
object.

Change-Id: I96e01264f6a64556e94545d147b8229e65ae219f
Merge "Add the plan objects and schema"