Add controller functionality for paintings