In a large skillet, heat the butter and sauté the garlic and onions until translucent.
Add the tomatoes and the herbs and cook for about 2 minutes.
Add the ground beef and cook until browned (about 10 minutes).
Add the flour, the parmesan cheese and the crushed tomatoes.
Cook until the sauce thickens slightly.
Add the egg yolk and season with salt and pepper.
Transfer the beef to a seasoned 12-inch cast iron skillet.
Top with mashed potatoes and then with the mozzarella.
Bake in over for 30 minutes or until the cheese has melted and browned.