Old temples were built by ancient rulers with the aid of expert architects according to "Shilpa Shastra" (Traditional rules and norms for Construction of Temples) , not only to create an abode for the Idols of Gods for worship, but also had a provision of Secret Tunnels and connectivity with the Forts as a route for safe mode of escape of the Royals and their families from the Forts and enemies during the time of Wars. More often the Temples were also acted as a Safe Deposit value for the Wealth of Royals, who used the wealth for the welfare of their subjects.The old Rulers Gifted hundreds of acres of land other means of assets for maintenance and upkeep of the temple and the people who worked for the temple. While the most of the land belonging to the temples have been either grabbed by the Politicians or encroached by the squatters. the treasures hidden in the temple remain inaccessible to people due to the British invasions and no one from the clan who built the temples and the rulers are knowing the temple's secrets is available to solve the puzzle till date, unless some one accidentally come across the treasures as in the case of Padmanabha Temple in Trivandrum.
The present day temples are reconstruction and/or expansion of encient temples and most of them are managed by the Goverment few are managed by Independant trusts like "Tirupathi Balaji Temple at Tirupathi at A.P. Shri Saibaba Temple at Shirdi, Shri Siddhi Vinayak Temple at Mumbai,etc. and the income from the trusts are used for meanly welfare measures.