deleted disused functions and variables.
deleted disused variables.
added the reference to the parent.
added onLastRow method and refactored.
added some commands.
refactored.
added periodic variables of luminosity and saturation.
deleted a disused array.
refactoring.
refactoring.