feat(core): Initial working version.

Closes #1.