Storing objectgroup as a Layer