Moved include models/database.php to dependencies.php