changed syntax to be more npm like, remove pub sub functionality, allow callback to be called when cleaning is done, adjust tests acording new syntax, upgrade version number