implement voting on comments, move model methods to module