have a look on the recipies thread in the food and nutrition forum there are several options there. In general you can replace flour with ground almond or coconut flour and sugar with sweetener (I use Stevia). With replacement I find I am better off using volume measure rather than weight, I tend to use American cup measures now. You might also find that the mixture has to be a bit wetter than normal due to the lack of gluten. Its a bit trial and error to get it right or use a recipy that someone else has posted. Icing is the big problem I find but we can still have cake, it just take a bit more effort.