Set up templated main for config reading and project setup.
Merge