I have this project structure on a test app.
App module -> an API interfaces module -> a dynamic module that implements my API interfaces and used third party APIs.