publish layer from data in existing store

allow publishing a table from an existing db datastore as a layer