Support emptiness and diff checks on Int values
Make component its own package; fix all tests