refactor(stats): use --serve switch to open stats server