consolidator/: turned it into a module

also added an example of how to use it?