added singleton for rendering html only after all views are done making content