Merge pull request #1 from carolineBda/master

@caroline refactor wad parser
@antony @carolineBda Refactor for readability.
@antony @carolineBda change callback from load to get an error return
@antony @carolineBda add uglify step for javascript
@cressie176 @carolineBda persist files
@caroline @cressie176 passing config object instead of file