Merge pull request #4 from aszharite/master

refactored and fixed a bug
Restore some functions + added flags :)
small changes
small bugfix
Save meta info on server
small bugfix
Added explicit async param
Merge pull request #1 from adibalcan/master

pull from adi