For now I have planned to run the code remotely. But can extend it to run locally. I'm using an API to run the code remotely.