Add reference command

Adds a command to add a reference.

@antgonza this helps to solve the issue in #732 
Not blocking but I think should be `sequences` instead of `sequence`.