Creating a class for the graveyard