Get data from core data DB

1. add a public method in BBDBmanager
2. fix some bugs
create with content

Update getcontent and create
RunDBsetup only when no DB