Added main.h and put loop in zSetup