added new controller model and migration file for documents