Update main.cpp

Migrated setup directives to setup.h