0.3.0 rewrite

rewrote a lot of how the files were combined together. Also added
minification.