added raintpl template management