Fixed bug - check if class "SqliteDB" exists before extending

Signed-off-by: plamen911 <plamen@lynxlake.org>