Refactored

Pulled some main code into 'Utils'
Defined a 'DS' namespace.