Changed options.use from array to object

This change will allow users to pass configuration to their referenced
modules