extract function for github raw url
fix typo
remove unused method
reuse utility method
remove unnecessary ToString conversion
Merge pull request #345 from mexx/refactorings

Refactorings - WIP