added db class (mysqli )