Added Camera and changed adding photos mechanism. Fixed mememory warnings