Ratel server code to use for dgraph-ratel UI

Is there a way to modify this fork, and it would work ok with the modified Ratel code ? Basically, instead of the Query Preview pane I want to add a UI component to accept key, value query for the input and feed that as rest call or whatever ratel server would take as input.