Make argv parsing for ttyname and filename
Added 'write_image' function. Worked, but too slow
Merge branch 'uploader' into develop