Many improvements

Some PEP8 compiants, file upload rewritten to POST request, server uses
Flask request to get files, unified command URL mask, overall speed
improvements.
WARNING: Totaly untested!