Lots of fixes:
Jinja template fix and optimization
Model change for clarity
Added a temporary way to get current time (Will be changed later)