Adding new functionality: from now all photos are divided into categories.