Change api structure, add api CRUD and update admin