Moved self.publicDB initializion up so doesn't fail on create tables