readymade pattern PHP file, of py cmds implemented & hooked to DB