got rid of the blade templates in favour of normal php.

also added a layout parameter and a blank template