Api directory layout