Users can now add ratings

Added necessary resource, DAO, and API files to allow users to add
ratings.