split interfaces into pesos.api