I never really understood where exactly the command stations come from, could you clear that up, please?

A meteor from the Reckoning went through a Skaian portal and hit future Earth. A tree grew from the impact site and John’s station grew from the tree. The other ones arrived on meteors and all resemble the Beta kid’s cruxite object. To find out more about the stations themselves I suggest you look at this page.