Php Class to build database with txt files.