PHP class that checks for a folder and if it does'nt exist it creates one