Added rnn_controller to actually run the rnn.