Use lowercase for variables (by convention)

Also removes unnecessary "function" keyword
link browse-repository script to ~/bin
Remove pointless namespaces
Refactor sed command