Create tmp folder automatically
Added documentation