Mv foreign code to ... src/foreign/

Fixes #40