add rating model and ratings controller