Really shouldn't get stinky quickly. We have nearly 42000 litres of rain water tanks here to supply our house with water as the town supply is terrible. Ensure there is a filter on the inlet and overflow and no light can enter. Algae cannot grow without light. A first flush system is also useful. the first flow of water from the roof is diverted away from your tank, about 10-15 litres, this reduces the amount of dust, leaves and what ever else lands on your roof and guttering ending up in your tank.