I´m new to this forum, but in the short time I´ve been here, I see that there´s a lot of knowledge and helpful souls on here! Hopefully I can learn a lot and ask some guidance from you

Now my question is about the Korg M50....Its a very amateur question, but still....Is it possible to use the M50 entirely as a controller/midi-keyboard, by plugging it to a computer and a software program?
This means that I will be using the M50 ONLY as a controller-keyboard with other software sounds, I won´t be using the hardware at all....
And is it possible to use the software program from one laptop, while recording the sounds from that laptop to another computer? Or does it have to recorded within the same program as the software comes from?
I admit that this is a veeeeeery n00bish question, but I´m not that skilled on keyboards, so please help...Haha
Thanks again!