Reorganized script into a class. Revised build, test process to
compile to a distribution folder.