add a startboth func to start both crawler and httpd