add a views/ folder, move the current view logic to overview.php