update travis to email
move fields to problem class.