Removed unnecessary dependencies from api sub project