Entity Anchor Functions and Tests

Requires #22