moved php things to my simple framework