DB stuff, class on PSobject

Added getters, setters for DB related CIs.  On returned PSObject pull
object class from JSON.