Clean up + optimize code considerably

http://codereview.stackexchange.com/a/31265/29629
Remove `namespace`

http://codereview.stackexchange.com/questions/31224/sales-tax-program/31
265#comment49774_31265
Adjust spacing