Creating base view, loading photos.