moved the api to the code projets and added some admin endpoints