init proj with master-detail view