refactor: serve command and router baseurl handling
Removed baseurl replacement logic from router.php and updated Serve.php to pass baseurl and output directory as arguments instead of using a temporary baseurl file. This simplifies local server setup and improves configuration clarity.