game loop added as well as background images started