moving php stuff to web
added tests back