Init database, make @db