wip: proto apis; pinf loader; api loading prep