Removed unused imports
Created a configuration type which configures the database session and HTTP
router