moved php files into /public folder