New main method, rename setup() to init()