added upload of picture, test it and made some major changes