Deepthi
I don’t have a recipe for fondant since I use store bought, but my guess your cracking problem is due to your fondant drying out. Do you use cornstarch or powdered sugar to roll your fondant?
If so mat try using less of those and see if that helps. Another alternative is to use shortening or even rolling you fondant between two sheets of vinyl that has been greased with shortening.
I say this all the time when someone questions fondant problems. I LOVE my mat from sweetwise. It was the best investment I made.ni used to have so many cracking, tearing and elephant problems before I bought it.