[TASK] Clean up preview rendering, move to ConfigurationProvider