Add photo view functionality
Add a lot of changes