first draft on rest, first draft on ui, imported client side lib