Added main program skeleton