PHP flat file data base class