added some more DBInterface functionality which is closer to the OO
principles