main() in pazpar2.c . Rest of high-level logic moved to logic.c. Some