Refactor API calls, add /value/???, and stub UI