added function to check if uploads folder exists
Merge pull request #3 from webejame/master

Fixed upload folder issue