Ok, but one step at a time! :)
That way full-closure of hte system will be easier to achieve and full self-replication will be an easy step to take.
Stirling engines and Fresnel lenses are the right path for both electrical and thermal energy production. If you can keep as much of the system as possible derived from sand and clay it's pretty much producable anywhere on Earth.