Model Selector 2

This is a copy of modelselector on which I'm working to try to make it
into the binary tree format we're wanting.