Creating modules with setting values and different instances