added html export - need to split the task or parameterize it.
moving stuff out of the helper into the being to support the rake task. This is the wrong way to do it! I need to do this the right way- only short-cutting because I actually need the information.