Initial commit of just the core stuff that the visualization needs.