created moon phase class