added client folder for client side logic and ppryer.js for server side logic
forgot to modify the index.js after dir structure change