added config model, added mbaas interface