Added console_init to main