Factoring out usages of Deps as list of installed libraries

I believe I added Ord to be able to use Constraint as a key of some Map. I'll check if it's true