Python & PHP Scripts to decouple PHP code from the Front-End code