new deploy script, build script OO -> FP, remove some special cases
Merge pull request #194 from timruffles/v2

New deploy script, updated dependencies, cleaned special cases, deploy script