get param method added
changed to module pattern
invoked function added
add function receives config
saving trival changes