Adding old php code to repo