Added logic.php and included path in index.php