ghetto msqli db class added. fixed formatting in match.php