Add settings to enable more customisation of module configuration

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>