generic model interface

DbManager and ServerClient need to implement this