[X3 devel] facade API

### Take 2
Only contains the basis for facade API.
core/action is untouched.