Remove all external libs from dominion and move them to lib