add a class as a solution writer