Added main, input, and graphics