No need for wonder factories. Just balance your budget and expand the economy. It's hard to go into details when they are so many ways to do this, not to mention how different countries are in different situations. In general high taxes (40-50%) and lowered military spending will let you make a profit from the start, after that just go where you think is best.