Updated.
Removed the configurations from here.

From now on, use app.php to configure the settings.
Removed the session created by php.
Configure the routes from this file.

Only routes should be configured outside app.php for the sake of design.
Updated configuration settings.