Move all shared command methods to mixins

* Deduplicates a lot of stuff!
Deduplicate specialized index commands