Move third party code into separate directory