Ported core.  Rather, added it to the end of _api.
Port geometry.
Port format.
Port filters.
Add a few more bits; more tests passing!