Refactor router, include CSS and require nvd3-related modules only if needed.