Introducing API inclusion and submodules

Jira issue: WP-1274