Working modular way of generating a page but has static importing of template file. Need to implement python version of php's variable variables for dynamic importing of scripts