Migrate more code to BuxtonLayer

We need to reduce the amount of string transfering and rely more
on the BuxtonLayer struct. This commit switches the database modules
to use a BuxtonLayer instead of passing char*

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>