refine index.php
add relay.php