Template files

Initial template php code