database implementation
database init
Merge + Rebase + Database