You are duplicating the config.Config object a LOT. Use a pointer instead
You are duplicating the config.Config object a LOT. Use a pointer instead