modified boostrap.php: required router.php and database.php