created light and material classes, added ambient parameter