Add master-detail app