added output_format='binary' to class controller in petclaw