Fixed PHP templating. Added jade templating