adds functionality for adding albums and adding photos. updates the api to handle both.