Fixed the Static Files issue and extracted templates