Add generic api and classes, db API implementation