Get first version of Type spec to green, and realize I should refactor some logic that was going be be in type controller to type.rb