Added main program, and compile