wip: Add rest api

Close #29
Implements #30 
I've already paid the mental penalty, but it would have saved me some time if this was `lbBoot`.