Added comments and made ReplaceVariables(string, Dictionary`2) into an extension method
Added comments
Updated README.md