Ability to upload a folder

Just pass in a directory name to -f option. 

Closes #24