Improved method to retrieve picture from camera. Added test server url for database pushing.