Added php sources and templates