Api Controller and Model Setup