Preheat oven to 350 degrees. Spray a 9-inch pie dish with cooking spray and set aside. Cook the pasta according to package directions and drain. Toss with the butter until melted. Add in the egg and parmesan cheese and stir until combined. Press into the bottom and sides of your pie dish.
To make the cheese layer:
Combine the ricotta cheese and the Italian seasoning. Spread on top of the pasta.
To make the meat layer:
In a medium-sized skillet over medium-high heat add the ground beef and cook and crumble until no longer pink. Add in the marinara sauce. Spread on top of the cheese layer.
Top with shredded cheese and bake for 20-25 minutes or until golden and bubbly. Serve with chopped basil if desired.