move all php api in a single dir.
fix form action path.