delete unrelated stuff, bugfixes, no php code anymore