Added input string parser according to found tokens in string
added function to generate output string, added parameter which provide custom separator
refactored, changed namespace to module pattern concept namespace