Move links into index.php, make them configurable in config.php
Use schema.php in installer.