Template Machine Application