several changes, add setup.php