removed legacy php templates and added subwired templates