more work on ws_photo example
more work on photo app