Moved php scripts

Moved the php componet so that i can have
a js site that uses a php api
dont know if i will keep it this way
i may just have it as a php site