config.php updated; database class cleaned; everithing works fine;