Added "constructor" for TileClass