Refactored liquidpipes API