Always include db.php. Have a file included from your dispatcher which includes your basic models (e.g. models/dependencies.php).