Pre heat the oven to 180 degrees C
Place the red lentils in a saucepan and cover with boiling water
Bring back to the boil and simmer gently, for 10-15 minutes until soft, adding more water if necessary
Stir occasionally to prevent the lentils sticking to the bottom of the pan
Meanwhile, heat the olive oil in a large frying pan
Cook the onion until soft
Add the garlic and courgette
Continue cooking for a few minutes and then lower the heat
Add in the cooked red lentils
Sprinkle in the dried mixed herbs
Add the oats
Stir in the egg and 3/4 of the cheese
When all is thoroughly mixed in place in a baking dish
Sprinkle on the remaining cheese
Slice the tomato and place on top, if using
Bake in the oven for about 30 minutes