I've added that both files but getting this fatal error.

Fatal error: Cannot redeclare class BPDB in class.bpdb.php on line 39