Remove submodules and subtrees.

Changing the build architecture to avoid duplicated code checkouts
in tree.