created comment model

created comment model for removing some things from the controllers,
like validation logic and building models