added api folder to config