added deps. add api foundation