Added sample for picture upload, modified main app