Updated __construct to add dbprefix