created php structure.
cleaned up code, wprked on style a little more.
missed a few files on last commit.