Moved templates.py to bootloader
Solves #1 for Windows