I've found out I'm way too much on a beginner level to start programming a whole new datapack for myself. I have found someone that has a datapack where I can add my own structures to.
So it does the armour stand spreading thing for me and I do the buildings and how and where they spawn.
And while doing that learning something about how to write the code. So thats nice!
Thanks for the help but untill I'm ready for the big code stuff I'm gonna use that stuff!