add gitignore, though there is nothing in it now
ignore WebStorm IDE settings
separate several modules
update gitignore according to the github's template
make a tiny example to upload and show an image; using formidable