0.3.0 rewrite

rewrote a lot of how the files were combined together. Also added
minification.
Merge pull request #1 from JonathanWolfe/rewrite

0.3.0 rewrite