Slashes in URLs:
Refactor the way slashes are handle in urls, it's more proper now. fix #109
Some coding style cleanup