Rebuilt tools.config with prototype, so it returns an object, not anymore a function.
Building examples.