refactored frame model
refactored nested picture resource