Re-implement create using extracted libraries.

Closes #69.