Dynamic Front & Reformat

Reformat
Link frontend to database (re: all.php)