Small fix to URL parameter parser
Move settings to config file, pull it out of git
Code readability and minor optimizations