itemlist added.  Main loop added