Removing unused libraries
Modify plots and photo services to return promises