First pass at componentizing the prototype code.
Merge pull request #1 from zgohr/componentize-first-pass

First pass at componentizing the prototype code.