created params class to manage public directory name as a parameter