add api strucutre

add api controllers
models and routes