Move "exists" logic to builder
Move "toId" logic to builder
Update tests
Add tests for StaticEntityBuilder
Update tests