Question: do i just need a modem for wifi?
Answer: Of course it will work without a modem. The router will provide a wifi connection to your devices, and provide them all IP addresses. You can send files from one computer to another, stream a video stored on your phone to your tv or chromecast, and can print files just fine.