Split huge naturaltime a bit

Signed-off-by: Michal Čihař <michal@cihar.com>
Move all template validation to single block

Signed-off-by: Michal Čihař <michal@cihar.com>