added associations and added controllers for comments and votes