creating public directory