complete rewrite of the data-layer and other minor fixes, tweaks

Enyo-DCO-1.1-Signed-off-by: Cole Davis <cole.davis@lge.com>