5 time loops in sensor invocation is solved.
5 times FOR LOOP has been fixed.
Updated StringTemplate Files according to real  sensors