Refactored into several smaller files
Added basic pin types and their IxSets
Added test query and real local acid state
Test with inserts too
Don't track state