Extract piece info functions to new namespace
Add a couple useful abstractions to new pieces namespace