Separate core and facades.

Signed-off-by: crynobone <crynobone@gmail.com>
Add build subsplit.

Signed-off-by: crynobone <crynobone@gmail.com>