This is a reasonable initial approach. The problem is you have listed the parts, but you haven’t really listed how they interact, and even if you did, it’s still sorta up to you how to organize it.
Only YOU will know how to organize it, and the only way you can tell is to do the work.
I recommend this: first, develop ALWAYS with source control (such as git), and every time you get even the slightest thing working, commit those changes with good commit messages.
Then move to the next thing, commit, etc. And I mean even trivial stuff, and give yourself good commit messages. Good commit messages are not for anyone else but you. Be kind to your future self.
That way as you move forward you will have fine-grained history of how things evolve. For instance if you start with it all in one script, you can then decide “okay, this works great, but this script is getting hairy. How about I pull out this part into its own file,” and you work on that.
As you do that “pull apart work,” you might realize “oh crap, this isn’t so good after all because of X,Y and Z not liking being separated…” One push of the git button and you are instantly back to the way it was just before you tried, nothing broken, ready to try again.
This lets you trivially try breaking it up a different way, or else creating another system to aid in breaking it up.