move torrent-server constructor to core ns with other ctors