Updated the dust module to make it more object oriented.