add the ability to cache values if required, added reload command for config and cache if enabled.