resolving api dir into root dir
moving all from api to root