Changed the name of the enum field.

The Open mHealth hook into Concordia defined a enum-like field. This was being called "enum" but should be called "allowed_values".
Completed the data layer abstraction.

The data layer is completely abstracted away resulting, which allows other developers to create their own DB hooks.