initializa light class structure