Added approvals model and api functions