partially updated to conform with the new API
first implementation of image uploading (incomplete)
Dropped ACCESS_NETWORK_STATE permission requirement
Fixed/changed some minor stuff