added some base php structures