Initial infobox code, needs some work and refinement