Removed namespace, added namespace on the function calls

Using namespaces is considered bad practice.

http://stackoverflow.com/a/1453605/1177391