Remove duplication

* None of this code will probably remain after refactoring it to
  handle more than base relations. This is just a stop-gap so that a
  gateway can be built on top of the adapter and ROM.rb has
  something concrete to build against.
Update metrics thresholds
Update project to pass with mutant