create data & log directory