adding assignment controller, Assignment model